<template>
  <div :class="classes">
    <slot></slot>
  </div>
</template>

<script>
  export default {
    props: {
      middle: {
        type: Boolean
      },
      gutter: {
        type: Number,
        default: 0
      }
    },
    computed: {
      classes () {
        return {
          'cellbox': true,
          'cellbox-middle': this.middle
        }
      }
    }
  }
</script>

<style lang="scss">
  .cellbox {
    display:table;
    width: 100%;
    &.cellbox-middle{
      .cell-item{
        vertical-align:middle;
      }
    }
  }
  
</style>
